<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><ui:insert name="title">Default Title</ui:insert></title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        <h:panelGroup rendered="#{!userManager.isAdmin}">            
            #{userManager.userResponse()}
        </h:panelGroup>
        <div id="main_container">
            <div id="header">
                <div id="logo">
                    <a href="index.html"><img src="images/logo.gif" width="147" height="78" alt="" title="" border="0" /></a>
                </div>
                <div class="banner_adds"></div>
                <h:form>
                    <div class="menu">

                        <ul>
                            <li><h:commandLink value="#{bundle.CreateCitiesIndexLink}" action="/admin/admin" immediate="true" /></li>
                            <li><a>Manage Company </a><!--[if IE 7]><!--><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]-->
                                <ul>
                                    <li><h:commandLink action="/admin/companyType/List" value="CompanyType"/></li>
                                    <li><h:commandLink action="/admin/companys/List" value="Companys"/></li>
                                    <li><h:commandLink action="/admin/contact/List" value="Contact"/></li>
                                </ul>
                                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                            </li>
                            <li><a>Manage User</a><!--[if IE 7]><!--><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]-->
                                <ul>
                                    <li><h:commandLink action="/admin/roles/List" value="Roles"/></li>
                                    <li><h:commandLink action="/admin/member1/List" value="Member"/></li>

                                </ul>
                                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                            </li>
                            <li><a>Manager Real Estate </a><!--[if IE 7]><!--><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]-->
                                <ul>
                                    <li><h:commandLink action="/admin/country/List" value="Countrys"/></li>
                                    <li><h:commandLink action="/admin/cities/List" value="Cities"/></li>
                                    <li><h:commandLink action="/admin/houseType/List" value="HouseType"/></li>
                                    <li><h:commandLink action="/admin/contactPerson/List" value="ContactPerson"/></li>
                                    <li><h:commandLink action="/admin/realEstateType/List" value="RealEstateType"/></li>
                                    <li><h:commandLink action="/admin/realEstate/List" value="RealEstate"/></li>
                                </ul>
                                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                            </li>
                            <li><h:commandLink action="/admin/news/List" value="News"/></li>
                            <li><h:commandLink action="/admin/fAQs/List" value="FAQs"/></li>
                            <li><h:commandLink action="/admin/Login" value="Login"/></li>

                        </ul>
                    </div>
                </h:form>
            </div>

            <div id="main_content">
                <div id="admin_header">
                    <div class="admin_index_title">
                        <ui:insert name="title">Default Title</ui:insert>
                    </div>
                    <div class="right_buttons"></div>
                </div>
                <div id="admin_header_border"></div>
                <div class="table_grid">                    
                    <ui:insert name="body">Default Body</ui:insert>
                </div>      



                <div class="admin_footer_help">
                    Admin help section here Admin help section here Admin help section here Admin help section here Admin help section here

                </div>  

            </div>
            <!-- end of main_content -->

            <div id="footer">

                <div id="copyright">
                    <div style="float:left; padding:3px;"><a href="#"><img src="images/footer_logo.gif" width="42" height="35" alt="" title="" border="0" /></a></div>
                    <div style="float:left; padding:14px 10px 10px 10px;"> Company name.&copy; All Rights Reserved 2008 - By <a href="http://csscreme.com" style="color:#772c17;">csscreme</a></div>
                </div>
            </div>


        </div>
        <!-- end of main_container -->
    </h:body>
</html>
